Web service discovery via data abstraction model with input assistance

ABSTRACT

A computer-implemented method includes receiving a selection of a particular logical field via a database query interface. The method includes querying a discovery registry associated with a data abstraction model of a database to discover one or more web services that are resolvable based on the particular logical field. The data abstraction model includes a plurality of logical fields, where each logical field corresponds to a particular data structure of the database. A web service input and a web service output of a particular discovered web service are associated with logical fields of the data abstraction model via the discovery registry. A modified database query interface includes an input assistance selectable input associated with the discovered web services. In response to a selection of the input assistance selectable input, a form input interface may be displayed that includes one or more input forms associated with the discovered web services.

I. FIELD OF THE DISCLOSURE

The present disclosure relates generally to computer implemented data processing, and more particularly, to accessing computer data and resources.

II. BACKGROUND

Advances in computing enable tremendous access to desired information and resources. Databases provide computerized information storage and retrieval for this purpose. In a computer database management system (DBMS), a requesting entity (e.g., an application, an operating system, or a user) requests access to a specified database by issuing a database access request. Such requests may include, for instance, simple catalog lookup requests or transactions that operate to read, change, or add specified records in the database. These requests are made using high-level query languages. The term query denominates a set of commands for retrieving data from a stored database. Queries take the form of a command language that lets programmers and programs select data, insert data, update data, locate data, and so forth.

A data abstraction model is a programmatic framework, developed to provide a requesting entity (e.g., an end-user or application) with an abstract representation of physical data. An abstract data model logically describes an underlying physical data structure. In this way, the requesting entity is decoupled from the detailed structure of the underlying physical data to be accessed. Logical queries based on the framework can be constructed without regard for the makeup of the physical data. Further, changes to the physical data do not necessitate changes to applications that access the physical data.

Using a data abstraction model, abstract queries based on the framework can be constructed without regard for the makeup of the underlying physical data. For instance, assume a user in a hospital wants to determine last and first names of employees having worked over ten years. To this end, the user may specify the following abstract query: “FIND LAST NAME, FIRST NAME” and “WHERE YRS EMPLOY-RESULT>10”. The logical field names “LAST NAME”, “FIRST NAME” and “YRS EMPLOY-RESULT”specified in the abstract query correspond to logical field names of respective logical fields in the data abstraction model.

Some research tools take querying a database a step further. For example, IBM's Data Discovery and Query Builder (DDQB) allows researchers and medical providers to analyze and identify correlations between and within data sets instead of having to manually search through records or requiring the intervention of a database administrator.

While a database can be a very effective research tool, only the information contained in the database is able to be queried. For this and other reasons, service-oriented architectures (SOAs) were created. An SOA describes IT infrastructure that allows different applications or services to exchange data with one another as they participate in business processes. The process of communication involves either simple data passing or two or more services coordinating some activity. Services are intrinsically unassociated units of functionality, which have no calls to each other embedded in them. Example services may include filling out an online application for an account, viewing an online bank statement, or placing an online booking or airline ticket order. Instead of services embedding calls to each other in their source code, protocols are defined that describe how one or more services communicate with each other. SOAs also link databases, broadening the scope of available information to be researched.

The increased access and capability provided by SOA processes also increases the need to focus requests for information and other services. Unfocused searches of the relatively larger pool of services and data can result in irrelevant results, as well as an overwhelming amount of information.

III. SUMMARY

In a particular embodiment, a computer-implemented method includes receiving a selection of a particular logical field via a database query interface. The method includes querying a discovery registry associated with a data abstraction model of a database to discover one or more web services that are resolvable based on the particular logical field. The data abstraction model includes a plurality of logical fields, where each logical field corresponds to a particular data structure of the database. A web service input of a particular discovered web service is associated with a first logical field of the data abstraction model via the discovery registry. A web service output of the particular discovered web service is associated with a second logical field of the data abstraction model via the discovery registry. The method further includes displaying a modified database query interface that includes an input assistance selectable input associated with the one or more discovered web services. In a particular embodiment, in response to a selection of the input assistance selectable input, a form input interface is displayed that includes one or more input forms associated with the one or more discovered web services. Each input form may include a web service input designator and an input to receive user input.

In another particular embodiment, a system includes a processor, an interface, and a computer readable storage medium. The interface is configured to receive a selection of a particular logical field via a database query interface. The computer readable storage medium is configured to store a data abstraction model of a database, a discovery registry, a resolver, and a user interface component. The data abstraction model includes a plurality of logical fields, where each logical field corresponds to a particular data structure of the database. The discovery registry is associated with the data abstraction model of the database. The discovery registry associates a plurality of web services with a plurality of logical fields of the data abstraction model. The resolver is executable by the processor to query the discovery registry to discover one or more web services that are resolvable based on the particular logical field received via the database query interface. A web service input of a particular discovered web service is associated with a first logical field of the data abstraction model via the discovery registry, and a web service output of the particular discovered web service is associated with a second logical field of the data abstraction model via the discovery registry. The user interface component is executable by the processor to display a modified database query interface that includes an input assistance selectable input associated with the one or more discovered web services. The user interface component is further executable by the processor to display a form input interface in response to a selection of the input assistance selectable input. The form input interface includes one or more input forms associated with the one or more discovered web services.

In another particular embodiment, a computer readable storage medium includes instructions that are executable by a processor. The instructions, when executed by the processor, cause the processor to receive a selection of a particular logical field via a database query interface. The instructions, when executed by the processor, further cause the processor to query a discovery registry associated with a data abstraction model of a database to discover one or more web services that are resolvable based on the particular logical field. The data abstraction model includes a plurality of logical fields, where each logical field corresponds to a particular data structure of the database. A web service input of a particular discovered web service is associated with a first logical field of the data abstraction model via the discovery registry, and a web service output of the particular discovered web service is associated with a second logical field of the data abstraction model via the discovery registry. The instructions, when executed by the processor, further cause the processor to display a modified database query interface that includes an input assistance selectable input associated with the one or more discovered web services. The instructions, when executed by the processor, further cause the processor to display a form input interface in response to a selection of the input assistance selectable input, where the form input interface includes one or more input forms associated with the one or more discovered web services.

These and other advantages and features that characterize embodiments of the disclosure are set forth in the claims annexed hereto and forming a further part hereof. However, for a better understanding of the disclosure, and of the advantages and objectives attained through its use, reference should be made to the drawings and to the accompanying descriptive matter in which there are described exemplary embodiments of the disclosure.

IV. BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an illustrative embodiment of a system to modify a database query interface to identify one or more web services that are resolved based on a logical field of a data abstraction model;

FIG. 2 is an illustrative embodiment of a modified database query interface that identifies web services that are resolved based on a logical field of a data abstraction model;

FIG. 3 is an illustrative embodiment of a web service query result interface displayed in response to selection of a web service of a modified database query interface;

FIG. 4 is another illustrative embodiment of a modified database query interface that identifies web services that are resolved based on a logical field of a data abstraction model;

FIG. 5 is a block diagram of a particular embodiment of a system to modify a database query interface to identify one or more web services that are resolved based on a logical field of a data abstraction model;

FIG. 6 is a flow diagram of a particular embodiment of a method of modifying a database query interface to identify one or more web services that are resolved based on a logical field of a data abstraction model; and

FIG. 7 is a flow diagram of a particular embodiment of a method of mapping one or more web services included in a web registry to a discovery registry associated with a data abstraction model of a database.

V. DETAILED DESCRIPTION

A particular embodiment of the present disclosure relates to a structured query language (SQL) condition function resolver that may be used instead of a set of static DDQB plug-ins. The SQL condition function resolver may obtain information about a field currently being used and look up SOA components (e.g., web services) that are applicable to the field.

Typically, when a web service is created, the web service is placed into a registry so that the web service may be discovered and used. In a particular embodiment of the present disclosure, when the web service is registered in a web registry, the web service is also registered with a DDQB discovery registry where DDQB semantic types may be captured.

To illustrate, multiple web services may be designed to enable a user to look up employees using different types of available information. For example, a first web service may include a department lookup service that relies on a department identification input, a second web service may include a support lookup service that relies on a support e-mail input, and a third web service may include a product owner lookup service that relies on a product name input. Each of the web services may be “tagged” with a concept of the web service as it relates to a data abstraction model of a particular organization.

For example, a web service input associated with the department lookup service may include a department identification input (e.g., “Dept ID”). This input may be “mapped” to an appropriate DDQB field reference (e.g., “<data://Employee/Department Code>(1)”). A web service output associated with the department lookup service may include a list of employee identifiers (e.g., “List of Employee IDs”). This output may be “mapped” to an appropriate DDQB field reference (e.g., “<data://Employee/Employee ID>(0-N)”).

As another example, a web service input associated with the support lookup service may include a support e-mail input (e.g., “Support e-mail”). This input may be “mapped” to an appropriate DDQB field reference (e.g., “<data://Employee/EmailAddress>(1)”). A web service output associated with the support lookup service may include a list of employee identifiers (e.g., “List of Employee IDs”). This output may be “mapped” to an appropriate DDQB field reference (e.g., “<data://Employee/Employee ID>(0-N)”).

As a further example, a web service input associated with the product owner lookup service may include a product name input (e.g., “Product Name”). This input may be “mapped” to an appropriate DDQB field reference (e.g., <data://Employee/Product Name>(1)“). A web service output associated with the product owner lookup service may include a list of employee identifiers (e.g., “List of Employee IDs”). This output may be “mapped” to an appropriate DDQB field reference (e.g., “<data://Employee/Employee ID>(0-N)”).

Thus, each of the illustrative web services have been “tagged” with its associated concept as related to the data abstraction model of the organization. As such, when DDQB uses a field, the field is used to determine web services that can be resolved based on a particular input. A content assist input aggregator (e.g., a “wizard” tool) displayed within a DDQB condition building screen may assist a user in utilizing each of the resolvable web services. This discovery process may provide the ability to continuously grow the functionality of the DDQB product without modifying the product itself. As new services come online within the organization, the services may be made available.

The flowcharts and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Referring to FIG. 1, a particular embodiment of a system to modify a database query interface to include one or more web services that are resolved based on a logical field of a data abstraction model is illustrated and generally designated 100. Web services that are registered in a web registry may also be registered with a discovery registry, where input and output parameters of the web services may be mapped to logical fields of a data abstraction model of a database. The system 100 of FIG. 1 may provide additional functionality to a database query application by making certain web services (e.g., web services that are mapped to logical fields of the data abstraction model of the database) available when designing database queries.

The system 100 of FIG. 1 includes a database (DB) query interface 102, a data abstraction model 126 of a database 140, and a discovery registry 112 associated with the data abstraction model 126. The system 100 may generate a modified database query interface 144. In a particular embodiment, one or more of the database query interface 102 and the modified database query interface 144 may be graphical user interfaces (i.e., GUIs).

The database query interface 102 is adapted to receive a selection of a particular logical field 104. For example, a user may select the particular logical field 104 from a plurality of logical fields via a field selection element 106. To illustrate, the user may select an icon 108 to display the plurality of logical fields in a list format, and the user may select one of the logical fields by highlighting or otherwise selecting the logical field. In response to selection of a selected logical field 110, the discovery registry 112 associated with the data abstraction model 126 may be queried to discover one or more web services that are resolvable based on the selected logical field 110.

The data abstraction model 126 includes a plurality of logical fields, and each logical field corresponds to a particular data structure of the database 140. For example, in the embodiment illustrated in FIG. 1, the plurality of logical fields includes a first logical field 128, a second logical field 132, and a third logical field 136. The first logical field 128 corresponds to a first data structure 130 of the database 140 (e.g., a first schema or table), the second logical field 132 corresponds to a second data structure 134 of the database 140, and the third logical field 136 corresponds to a third data structure 138 of the database 140. A web service input of a particular web service is associated with a logical field of the data abstraction model 126 via the discovery registry 112, and a web service output of the particular web service is associated with a second logical field of the data abstraction model 126 via the discovery registry 112.

In the embodiment illustrated, a first web service 114 and a second web service 120 may be determined to be resolvable based on the selected logical field 110. Alternatively, any number of web services may be determined to be resolvable. A web service input 116 and a web service output 118 are associated with the first web service 114. Similarly, a web service input 122 and a web service output 124 are associated with the second web service 120. As illustrated in FIG. 1, the web service input 116 of the first web service 114 is associated with the first logical field 128 of the data abstraction model 126 via the discovery registry 112, and the web service output 118 of the first web service 114 is associated with the second logical field 132 of the data abstraction model 126 via the discovery registry 112. The web service input 122 of the second web service 120 is associated with the third logical field 136 of the data abstraction model 126 via the discovery registry 112, and the web service output 124 of the second web service 120 is associated with the second logical field 132 of the data abstraction model 126 via the discovery registry 112.

To illustrate, the first web service 114 may include a department lookup service. In this case, the web service input 116 associated with the department lookup service may include a department identification input (e.g., “Dept ID”) that is associated with an employee department code logical field (e.g., “<data://Employee/Department Code>(1)”) of the data abstraction model 126 via the discovery registry 112. The web service output 118 associated with the department lookup service may include a list of employee identifiers (e.g., “List of Employee IDs”) that are associated with an employee identification logical field (e.g., “<data://Employee/Employee ID>(0-N)”) of the data abstraction model 126 via the discovery registry 112. Thus, the department lookup service may enable a user to look up employees based on a first type of information (e.g., based on a department identifier).

As another example, the second web service 120 may include a support lookup service. In this case, the web service input 116 associated with the support lookup service may include a support e-mail input (e.g., “Support e-mail”) that is associated with an employee e-mail address logical field (e.g., “<data://Employee/EmailAddress>(1)”) data abstraction model 126 via the discovery registry 112. The web service output 118 associated with the support lookup service may include a list of employee identifiers (e.g., “List of Employee IDs”) that are associated with an employee identification logical field (e.g., “<data://Employee/Employee ID>(0-N)”) of the data abstraction model 126 via the discovery registry 112. Thus, the support lookup service may enable a user to look up employees based on a second type of information (e.g., based on an employee e-mail address).

In another embodiment, the discovery registry 112 includes a third web service (not shown). For example, the third web service may include a product owner lookup service. A web service input associated with the product owner lookup service may include a product name input (e.g., “Product Name”) that is associated with a product name logical field (e.g., a fourth logical field, not shown) of the data abstraction model 126 via the discovery registry 112. The web service output associated with the product owner lookup service may include a list of employee identifiers (e.g., “List of Employee IDs”) that are associated with an employee identification logical field (e.g., “<data://Employee/Employee ID>(0-N)”) of the data abstraction model 126 via the discovery registry 112 (e.g., the second logical field 132). Thus, the product owner lookup service may enable a user to look up employees based on a third type of information (e.g., based on a product name).

As shown in FIG. 1, the web service output 118 of the first web service 114 and the web service output 124 of the second web service 120 are both associated with the same logical field of the data abstraction model 126 (e.g., the second logical field 132). Thus, the discovery registry 112 may enable different web service outputs to be mapped to a common logical field. For example, the user may look up employees based on a first type of information (e.g., based on a department identifier), based on a second type of information (e.g., based on a support e-mail address), or based on a third type of information (e.g., a product name). In each case, a list of employee identifiers may be returned. In the event that the user knows the department identifier, the user may locate the employee using the department lookup service. In the event that the user knows a support e-mail address, the user may locate the employee using the support lookup service. In the event that the user knows a product name, the user may locate the employee using the product name lookup service. Each web service is tagged with the concept of looking up employees as it would relate to the data abstraction model 126 of the database 140.

The modified database query interface 144 is displayed based on one or more discovered web services 142. The modified database query interface 144 includes a text entry element 148 to receive a text search term 146 and at least one selectable input associated with a discovered web service. For example, in the embodiment illustrated in FIG. 1, the modified database query interface 144 includes a first selectable input 150 associated with the first discovered web service 114 and a second selectable input 152 associated with the second discovered web service 120. In alternative embodiments, the modified database query interface 144 may include any number of selectable inputs that are each associated with a particular discovered web service.

In response to selection of the first selectable input 150 associated with the first discovered web service 114, a first web service query result interface 154 is displayed. The first web service query result interface 154 includes first information 156 retrieved in response to execution of the first discovered web service 114 based on the text search term 146 received via the text entry element 148 of the modified database query interface 144. For example, the text search term 146 may include an employee department (e.g., “HJAA”), and the first selectable input 150 may include a department lookup web service (see FIG. 2). Upon entry of the text search term 146 of “HJAA” and in response to selection of the first selectable input 150, the first web service query result interface 154 with a list of employee identifiers associated with the “HJAA” employee department (e.g., the first retrieved information 156) may be displayed (see FIG. 3).

In response to selection of the second selectable input 152 associated with the second discovered web service 120, a second web service query result interface 158 is displayed. The second web service query result interface 158 includes second information 160 retrieved in response to execution of the second discovered web service 120 based on the text search term 146 received via the text entry element 148 of the modified database query interface 144. For example, the text search term 146 may include a support e-mail address, and the second web service query result interface 158 with a list of employee identifiers associated with the support e-mail address (e.g., the second retrieved information 160) may be displayed.

The modified database query interface 144 may include any number of selectable inputs associated with the discovered web services 142 that are resolvable based on the selected logical field 110. For example, the modified database query interface 144 may further include a third selectable input (not shown) associated with a third discovered web service that is resolvable based on the selected logical field 110. In response to selection of a third selectable input (not shown) associated with the third discovered web service, a third web service query result interface (not shown) may be displayed. The third web service query result interface may include third information retrieved in response to execution of the third discovered web service based on the text search term 146 received via the text entry element 148 of the modified database query interface 144. For example, the text search term 146 may include a product name, and the third web service query result interface with a list of employee identifiers associated with the product name may be displayed.

The features of the present disclosure may have particular application within such environments as a DDQB web-based framework. As an example, the web-based framework may help physicians or researchers (among others) to search through data files to identify and correlate data based on demographics, lab tests and diagnostics, as well as laboratory and physician notes. This search capability tool may enable users with various levels of expertise to easily configure queries and leverage the full spectrum of information assets. DDQB applications may enable users to build queries ranging from simple to complex, and run the queries against a user's data environment.

Embodiments consistent with the present disclosure may allow queries to be edited and saved for later use. Results from queries may be displayed in HTML, CSV, XML, TAB Delimited, or XLS formats. Further, users may be able to save query results for future use or collaboration with others. Query results may also be passed to configurable and/or pluggable analysis routines. Such features may be realized without requiring the user to have knowledge of complex data query languages.

Referring to FIG. 2, a particular embodiment of a modified database query interface (e.g., a modified database query GUI) that includes web services that are resolved based on a logical field of a data abstraction model is illustrated and generally designated 144. The modified database query interface 144 of FIG. 2 corresponds to the modified database query interface 144 of FIG. 1. The modified database query interface 144 may represent an improved database query interface that may enable a user to execute a discovered web service associated with a logical field of a data abstraction model of a database.

The modified database query interface 144 is associated with a particular logical field 202 of a data abstraction model of a database. For example, the particular logical field 202 of FIG. 2 may be the selected logical field 110 of the data abstraction model 126 of the database 140 of FIG. 1. In the embodiment illustrated in FIG. 2, the particular logical field 202 includes an “Employee” field. A text search term 204 may be provided via the modified database query interface 144.

In the embodiment illustrated in FIG. 2, the modified database query interface 144 includes a first selectable input 206 associated with a first discovered web service, a second selectable input 208 associated with a second discovered web service, and a third selectable input 210 associated with a third discovered web service. For example, the first selectable input 206 may correspond to a department lookup service, the second selectable input 208 may correspond to a support lookup service, and the third selectable input 210 may correspond to a product owner lookup service.

In the event that a user knows a department identifier, the text search term 204 provided by the user may be the department identifier, and the user may select the first selectable input 206 that corresponds to the department lookup service. In the event that the user knows a support e-mail address, the text search term 204 provided by the user may be the support e-mail address, and the user may select the second selectable input 208 that corresponds to the support lookup service. In the event that the user knows a product name, the text search term 204 provided by the user may be the product name, and the user may select the third selectable input 210 that corresponds to the product owner lookup service.

In the embodiment illustrated, the text search term 204 is “HJAA,” corresponding to a department identifier. As such, the user may select the first selectable input 206 that corresponds to the department lookup service in order to locate an employee. In response to selection of the first selectable input 206, the department lookup service is executed with a web service input of “HJAA.” Information retrieved by the department lookup service may correspond to a list of employees associated with the “HJAA” department. In a particular embodiment, a web service query result interface may be displayed that includes the list of employees (see FIG. 3). For example, the web service query result interface may correspond to the first web service query result interface 154 of FIG. 1, and the list of employees may correspond to the first retrieved information 156.

As another example, the text search term 204 may correspond to a support e-mail address, and the user may select the second selectable input 208 that corresponds to the support lookup service in order to locate an employee. In response to selection of the second selectable input 208, the support lookup service is executed with a web service input of the support e-mail address. As a further example, the text search term 204 may correspond to a product name, and the user may select the third selectable input 210 that corresponds to the support lookup service in order to locate an employee. In response to selection of the third selectable input 210, the product owner lookup service is executed with a web service input of the product name.

In one embodiment, maintenance functionality may allow a user to remove a selectable input from the modified database query interface 144. For example, the first selectable input 206 may be removed in response to a user selection of a first removal option. To illustrate, the user may right-click on the first selectable input 206 and select a “Do not show this feature” option from a context menu (not shown). In one embodiment, the first selectable input 206 is removed from the modified database query interface 144 for the user. As another example, the second selectable input 208 may be removed in response to selection of a second removal option. For example, an administrator may right-click on the second selectable input 208 and select a “Do not show this feature” option from a context menu. In one embodiment, the second selectable input 208 is removed from the modified database query interface 144 for all users in response to the administrator selection.

Referring to FIG. 3, a particular embodiment of a web service query result interface (e.g., a web service query result GUI) displayed in response to selection of a web service of a modified database query interface is illustrated and generally designated 154. The web service query result interface 154 of FIG. 3 is displayed in response to a selection of the first selectable input 150 associated with a department lookup service of the modified database query interface 144 of FIG. 2.

The web service query result interface 154 is displayed in response to execution of a discovered web service based on a text search term received via a text entry element of a modified database query interface. The web service query result interface 154 includes information 304 retrieved by a particular web service 302. In the embodiment illustrated, the particular web service 302 includes a department lookup web service, and the information 304 retrieved by the department lookup web service includes a list of employees associated with a text search term 204. For example, the text search term 204 may be the “HJAA” employee department of FIG. 2. In the embodiment illustrated, the list of employees associated with the “HJAA” employee department includes a first employee name 306 (e.g., “Carter”), a second employee name 308 (e.g., “Clark”), a third employee name 310 (e.g., “Garcia”), a fourth employee name 312 (e.g., “Harris”), and a fifth employee name 314 (e.g., “Larson”). The user may select individual employee names (e.g., using a check box associated with the name) or may select all of the employee names using a select all option 316.

Thus, the user may refine a database query by selecting particular employees using a particular discovered web service that returns a list of employees associated with a particular web service input (e.g., the employee department of “HJAA” in the example of FIG. 3). As such, the functionality of a database query tool may be improved by integrating applicable web services. As more web services become available, the database query tool (e.g., DDQB query builder) may be further improved without customized code development (e.g., custom plug-ins) or other modifications to the underlying database query tool.

Referring to FIG. 4, another embodiment of a modified database query interface that identifies web services that are resolved based on a logical field of a data abstraction model is illustrated and generally designated 400. While the modified database query interface 200 of FIG. 2 enabled a user to select a particular discovered web service (e.g., the discovered web services 206, 208, and 210), the modified database query interface 400 of FIG. 4 provides a content assist input aggregator (e.g., a “wizard” tool) in order to further assist the user in utilizing a discovered web service.

As described above, both web service inputs and web service outputs are “typed.” To illustrate, a web service input associated with a particular service may be “mapped” to one DDQB field reference, and a web service output associated with the particular service may be “mapped” to another DDQB field reference. As explained above, the “typed” outputs may be used to determine web services that may provide data to a given condition. In the embodiment illustrated in FIG. 4, the input types may be used for form input and validation. Thus, instead of showing each of the selectable indicators for the functions (e.g., the indicators 206, 208, and 210 of FIG. 2), the interface 400 of FIG. 4 includes a “wizard” button 402.

To illustrate, a web service input (e.g., “Dept ID”) associated with a first service may be “mapped” to the DDQB field reference “<data://Employee/Department Code>(1)”, and a web service input (e.g., “Support e-mail”) associated with a second service may be “mapped” to the DDQB field reference “<data://Employee/EmailAddress>(1)”. In a particular embodiment, more than one web service input may be associated with a particular service. For example, a first web service input (e.g., “Product Name”) associated with a third web service may be “mapped” to the DDQB field reference “<data://Employee/Product Name>(1)”, and a second web service input (e.g., “Location”) may be “mapped” to the DDQB field reference “<data://Employee/Location>(1)”. In one embodiment, the user may be required to enter both web service inputs in order to utilize the third web service.

In response to selection of the wizard button 402, a form input interface 404 is displayed. The form input interface 404 includes input forms for each of the discovered web services. In this case, the discovered web services include a department lookup service 406, a support lookup service 408, and a product owner lookup service 410. For each of the services 406, 408, and 410, the input field definition is determined based on the data abstraction model. The user may enter data for one or more of the services 406, 408, and 410 in accordance with the field type as defined in the data abstraction model. To illustrate, department code information may be entered via a department code input 412 associated with the department lookup service 406, and support e-mail information may be entered via a support e-mail lookup input associated with the support lookup service 408. FIG. 4 also illustrates that the user may enter multiple types of information for a given service. For example, product name information and location information may be associated with the product owner lookup service 410. Product name information may be provided via a product name selection menu 416, and location information may be provided by a location selection menu 418. The user may select a search input 420 (e.g., a search button) to execute the search based on information provided via the form input interface 404.

One or more aspects of the form input interface 404 may be determined based on core DDQB input functionality. For example, in one embodiment, product name information may only be specified by drop down menu items. A plurality of help inputs 422 may enable the user to view information that is specific to the service that is being used to gather information given the input.

The form input interface 404 of FIG. 4 may provide numerous advantages with respect to usability. For example, the form input interface 404 may assist non-expert users with the use of web services in building a condition. Further, higher quality entries may be ensured by validating user entries against a DDQB schema. Still further, performance may be enhanced by executing a subset of available web services rather than auto-executing multiple web services, and the user may avoid searching through the results of such auto-executed services.

The form input interface 404 of FIG. 4 may also reduce search “cross contamination” of an input term. For example, the term “HJAA” may be used to search a department for a group of employees. However, if “HJAA” is also an expense code that was tied to a list of employees that had billed hours, the user may be presented with “cross hits” to be filtered out. The form input interface 404 may prevent such an issue by applying a type to what the user intended with respect to the term “HJAA.” Further, in situations where the input is difficult to determine may be automatically validated by the DDQB environment. For example, “HJAA” may represent a department code, but the user may enter “HJA”. Rather than receive no results, field level validation that can be applied to “data://Employee/DepartmentCode” may ensure that valid values are provided to the appropriate web service.

Referring to FIG. 5, a particular embodiment of a system to modify a database query interface to include one or more web services that are resolved based on a logical field of a data abstraction model is illustrated and generally designated 500.

The system 500 includes a processor 502, a memory 504 (e.g., a computer readable storage medium), and an interface 506. The interface 506 is configured to receive user input 530 (e.g., a selection of a particular logical field) via a database query interface 102. The interface 506 is further configured to communicate via a network 508 and with a mass storage device 510 that includes a database 140.

The memory 504 is configured to store a data abstraction model 126 of the database 140. The data abstraction model 126 may map semantic names to data in the database 140. The data abstraction model 126 includes a plurality of logical fields, where each logical field of the plurality of logical fields corresponds to a particular data structure of the database 140. In the embodiment illustrated, the database 140 is stored outside of the memory 504. Alternatively, the memory 504 may be configured to store the database 140. The database 140 is representative of any collection of data regardless of the particular physical representation of the data. A physical representation of data defines an organizational schema of the data. By way of illustration, the database 140 may be organized according to a relational schema (accessible by SQL queries) or according to an XML schema (accessible by XML queries). However, the present disclosure is not limited to a particular schema and contemplates extension to schemas presently unknown. As used herein, the term “schema” generically refers to a particular arrangement of data.

The data abstraction model 126 is referred to herein as a logical representation because the data abstraction model 126 defines logical fields corresponding to data structures in the database 140, thereby providing an abstract (i.e., logical) view of the data in the database 140. A data structure is a physical arrangement of the data, such as an arrangement in the form of a database table or a column of the database table. More specifically, each logical field defines a logical representation of a specific set of the data in the database 140. In a relational database environment having a multiplicity of a database tables, a specific logical representation having specific logical fields can be provided for each database table. In this case, all specific logical representations together constitute the data abstraction model 126. Physical entities of data are arranged in the database 140 according to a physical representation of the data. A physical entity of data (interchangeably referred to as a physical data entity) is a data item in an underlying physical representation. Accordingly, a physical data entity is the data included in a database table or in a column of the database table.

The memory 504 is configured to store a discovery registry 112 associated with the data abstraction model 126 of the database 140. The discovery registry 112 associates a plurality of web services 514 with a plurality of logical fields of the data abstraction model 126. The discovery registry 112 may comprise a service container that provides remote access to services.

The memory 504 is further configured to store a resolver 516 that is executable by the processor 502 to query the discovery registry 112 to discover one or more web services 514 of the plurality of web services that are resolvable based on the particular logical field received via the database query interface 102. In one embodiment, the resolver 516 is a structured query language (SQL) condition function resolver. The SQL condition function resolver may be responsible for locating service outputs associated with and otherwise appropriate for a desired condition. The SQL condition function resolver may use SQL techniques to dynamically grow services, as opposed to static plug-ins. SQL is a database computer language designed for the retrieval and management of data in relational database management systems, database schema creation and modification, and database object access control management.

The memory 504 is further configured to store a user interface component executable by the processor 502 to display a modified database query interface 144 that includes a text entry element to receive a text search term and a first selectable input associated with the first discovered web service.

In the embodiment illustrated, the memory 504 stores a web registry 520. The web registry 520 includes discoverable information associated with the plurality of web services 514. An exemplary web registry 520 may include a Universal Description, Discovery and Integration (UDDI) registry. UDDI is a platform independent, XML-based registry for businesses to list themselves on the Internet.

A user may modify the discovery registry 112 via an application 528 that may be used to map a web service registered in the web registry 520 to the discovery registry 112 (see FIG. 7). In one embodiment, the discoverable information associated with a particular web service of the plurality of web services 514 may be stored at the discovery registry 112 when the particular web service is added to the web registry 520.

The database query interface 102 of FIG. 5 may be the database query interface 102 of FIG. 1, the discovery registry 112 may be the discovery registry 112 of FIG. 1, the data abstraction model 126 may be the data abstraction model 126 associated with the database 140 of FIG. 1, and the modified database query interface 144 may be the modified database query interface 144 of FIG. 1. The first web service query result interface 154 of FIG. 5 may be the first web service query result interface 154 of FIG. 1 that is generated in response to a selection of the first selectable input 150. The second web service query result interface 158 of FIG. 5 may be the second web service query result interface 158 of FIG. 1 that is generated in response to a selection of the second selectable input 152.

Referring to FIG. 6, a particular embodiment of a method of modifying a database query interface to include one or more web services that are resolved based on a logical field of a data abstraction model is illustrated and generally designated 600. In one embodiment, the method 600 may include modifying the database query interface 102 of FIG. 1 to generate the modified database query interface 144 of FIG. 1 that includes selectable inputs 150, 152 associated with discovered web services.

The method 600 includes receiving a selection of a particular logical field via a database query interface, at 604. For example, the method 600 may include receiving the selected logical field 110 of FIG. 1 via the database query interface 102 of FIG. 1.

The method 600 includes querying a discovery registry associated with a data abstraction model of a database to discover one or more web services that are resolvable based on the particular logical field, at 602. For example, the method 600 may include querying the discovery registry 112 of FIG. 1 associated with the data abstraction model 126 to discover the web services 142 that are resolvable based on the selected logical field 110. The data abstraction model includes a plurality of logical fields, where each logical field of the plurality of logical fields corresponds to a particular data structure of the database. For example, in FIG. 1, the first logical field 128 corresponds to the first data structure 130 of the database 140, the second logical field 132 corresponds to the second data structure 134 of the database 140, and the third logical field 136 corresponds to the third data structure 138 of the database 140. A web service input of a first discovered web service is associated with a first logical field of the data abstraction model via the discovery registry, and a web service output of the first discovered web service is associated with a second logical field of the data abstraction model via the discovery registry. For example, in FIG. 1, a web service input 116 of the first web service 114 is associated with the first logical field 128, and the web service output 118 of the first web service 114 is associated with the second logical field 132.

The method 600 further includes displaying a modified database query interface that includes a text entry element to receive a text search term and a first selectable input associated with the first discovered web service, at 606. For example, in FIG. 1, the modified database query GUI 144 includes the text entry element 148 to receive a text search term 146 and the first selectable input 150 associated with the first discovered web service 114.

In the embodiment illustrated in FIG. 6, the method 600 includes displaying a first web service query result interface in response to selection of the first selectable input associated with the first discovered web service, at 608. The first web service query result interface includes information retrieved in response to execution of the first discovered web service based on the text search term received via the text entry element of the modified database query interface. For example, in FIG. 1, the first web service query result interface 154 is displayed in response to selection of the first selectable element 150 associated with the first discovered web service 114. In FIG. 1, the first web service query result interface 154 includes first retrieved information 156 that is retrieved in response to execution of the first discovered web service 114 based on the text search term 146 received via the text entry element 148 of the modified database query interface 144.

Referring to FIG. 7, a particular embodiment of a method of mapping one or more web services included in a web registry to a discovery registry associated with a data abstraction model of a database is illustrated and generally designated 700. For example, the method 700 may include mapping one or more web services included in the web registry 520 of FIG. 5 to the discovery registry 112 associated with the data abstraction model 126 of the database 140.

The method 700 includes querying a web registry to determine one or more web services registered at the web registry, at 702. For example, the web registry 520 of FIG. 5 may be queried to determine one or more web services registered at the web registry 520. The method 700 includes displaying the one or more web services and a data abstraction model of a database, at 704. The data abstraction model includes a plurality of logical fields that each correspond to a particular data structure of the database. For example, the data abstraction model may be the data abstraction model 126 of FIG. 5, and a GUI may display the one or more web services of the web registry 520 side by side with a tree representation of the data abstraction model 126. In the event that a user selects to map one of the web services, the method 700 includes receiving a user selection of either an input parameter of a particular web service or an output parameter of the particular web service, at 706. For example, the user may select the web service input 116 of the first web service 114 or the web service output 118 of the first web service 114 of FIG. 1.

The method 700 includes receiving a user selection of a field in the data abstraction model to associate with the selected parameter of the particular web service, at 708. For example, the GUI may enable the user to associate a web service parameter with a logical field of the data abstraction model. For example, in FIG. 1, the user may map the web service input 116 to the first logical field 128 and may map the web service output 118 to the second logical field 132 of the data abstraction model 126. The mapping information between web service parameters and logical fields of the data abstraction model may be stored at a discovery registry (e.g., the discovery registry 112 of FIG. 1).

The method 700 may be repeated for multiple web services included in the web registry. The method 700 may include determining whether the user desires to map another web service, at 710. If so, the method 700 may return to 706 in order to allow the user to map web service parameters of a second web service to logical fields of the data abstraction model. For example, in FIG. 1, the user may map the web service input 122 of the second web service 120 to the third logical field 136 and may map the web service output 124 to the second logical field 132 of the data abstraction model 126. The method 700 may allow the user to map any number of web services to logical fields of the data abstraction model and to store the mapping information at a discovery registry (e.g., the discovery registry 112 of FIG. 1).

Upon completion of the mapping operations, the method 700 may include determining whether the user desires to enable or disable the mapped web service, at 712. The method 700 may include enabling a selected web service, at 714. By enabling the selected web service, the selected web service is made available to a query builder application (e.g., DDQB query builder). For example, in the embodiment illustrated in FIG. 1, the first web service 114 is enabled, resulting in the first selectable input 150 associated with the first web service 114 being made available to the modified database query interface 144 (e.g., as a selectable button or icon). As another example, in the embodiment illustrated in FIG. 1, the second web service 120 is enabled, resulting in the second selectable input 152 associated with the second web service 120 being made available to the modified database query interface 144 (e.g., as a different selectable button or icon).

In alternative embodiments, the method 700 may include disabling a selected web service, at 716. By disabling the selected web service, the selected web service is unavailable to a query builder application. For example, in the event that the first web service 114 of FIG. 1 was disabled, the first selectable input 150 associated with the first web service 114 would be unavailable to the modified database query interface 144. That is, a selectable button or icon associated with the first web service 114 would not be displayed via the modified database query interface 144. As another example, in the event that the second web service 120 of FIG. 1 was disabled, the second selectable input 152 associated with the second web service 120 would be unavailable to the modified database query interface 144. That is, a selectable button or icon associated with the second web service 120 would not be displayed via the modified database query interface 144.

Thus, the method 700 of FIG. 7 may allow a user to map any number of web services to logical fields of the data abstraction model and to store the mapping information at a discovery registry (e.g., the discovery registry 112 of FIG. 1). Enabled web services may be made available to a query builder application (e.g., displayed via the modified database query interface 144 of FIG. 1). Further, by enabling the user to disable mapped web services, the number of web services that are displayed at the query builder application may be limited. Limiting the number of available web services may be beneficial for users of the query builder application by reducing the number of web services to review when building a query.

As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.

Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).

Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.

The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. 

1. A computer-implemented method, comprising: receiving a selection of a particular logical field via a database query interface; querying a discovery registry associated with a data abstraction model of a database to discover one or more web services that are resolvable based on the particular logical field, wherein the data abstraction model includes a plurality of logical fields, wherein each logical field of the plurality of logical fields corresponds to a particular data structure of the database, wherein a web service input of a particular discovered web service is associated with a first logical field of the data abstraction model via the discovery registry, and wherein a web service output of the particular discovered web service is associated with a second logical field of the data abstraction model via the discovery registry; and displaying a modified database query interface that includes an input assistance selectable input associated with the one or more discovered web services.
 2. The computer-implemented method of claim 1, further comprising displaying a form input interface in response to a selection of the input assistance selectable input, wherein the form input interface includes one or more input forms associated with the one or more discovered web services.
 3. The computer-implemented method of claim 2, wherein the input assistance selectable input includes a wizard button, and wherein each input form of the one or more input forms includes a web service input designator and an input to receive user input.
 4. The computer-implemented method of claim 2, further comprising executing a first discovered web service of the one or more discovered web services based on a text search term received via a first input form associated with the first discovered web service.
 5. The computer-implemented method of claim 4, wherein the first discovered web service includes a department lookup service, wherein the web service input associated with the department lookup service includes a department identification input that is associated with an employee department code logical field of the data abstraction model via the discovery registry, and wherein the web service output associated with the department lookup service includes a list of employee identifiers that are associated with an employee identification logical field of the data abstraction model via the discovery registry.
 6. The computer-implemented method of claim 5, wherein a first input field definition associated with the first discovered web service is determined based on the data abstraction model, and wherein a format of the text search term is determined based on the first input field definition.
 7. The computer-implemented method of claim 6, wherein the text search term includes department code information.
 8. The computer-implemented method of claim 2, further comprising executing a second discovered web service of the one or more discovered web services based on a text search term received via a second input form associated with the second discovered web service.
 9. The computer-implemented method of claim 8, wherein the second discovered web service includes a support lookup service, wherein the web service input associated with the support lookup service includes a support e-mail input that is associated with an employee e-mail address logical field of the data abstraction model via the discovery registry, and wherein the web service output associated with the support lookup service includes a list of employee identifiers that are associated with an employee identification logical field of the data abstraction model via the discovery registry.
 10. The computer-implemented method of claim 9, wherein a second input field definition associated with the second discovered web service is determined based on the data abstraction model, and wherein a format of the text search term is determined based on the second input field definition.
 11. The computer-implemented method of claim 10, wherein the text search term includes support e-mail information.
 12. The computer-implemented method of claim 2, further comprising executing a third discovered web service of the one or more discovered web services based on a plurality of text search terms received via a third input form associated with the third discovered web service.
 13. The computer-implemented method of claim 12, wherein the third discovered web service includes a product owner lookup service, wherein a first web service input associated with the product owner lookup service includes a product name input that is associated with a product name logical field of the data abstraction model via the discovery registry, wherein a first web service output associated with the product owner lookup service includes a list of employee identifiers that are associated with an employee identification logical field of the data abstraction model via the discovery registry, wherein a second web service input associated with the product owner lookup service includes a location input that is associated with a location logical field of the data abstraction model via the discovery registry, and wherein a second web service output associated with the product owner lookup service includes a list of locations that are associated with the employee identification logical field of the data abstraction model via the discovery registry.
 14. The computer-implemented method of claim 13, wherein a third input field definition associated with the third discovered web service is determined based on the data abstraction model, and wherein a format of each text search term of the plurality of text search terms is determined based on the third input field definition.
 15. The computer-implemented method of claim 14, wherein a first text search term includes product name information selectable via a product name selection menu, and wherein a second text search term includes location information selectable via a location selection menu.
 16. A system, comprising: a processor; an interface to receive a selection of a particular logical field via a database query interface; and a computer readable storage medium configured to store: a data abstraction model of a database, wherein the data abstraction model includes a plurality of logical fields, wherein each logical field of the plurality of logical fields corresponds to a particular data structure of the database; a discovery registry associated with the data abstraction model of the database, wherein the discovery registry associates a plurality of web services with a plurality of logical fields of the data abstraction model; a resolver executable by the processor to query the discovery registry to discover one or more web services of the plurality of web services that are resolvable based on the particular logical field received via the database query interface, wherein a web service input of a particular discovered web service is associated with a first logical field of the data abstraction model via the discovery registry, and wherein a web service output of the particular discovered web service is associated with a second logical field of the data abstraction model via the discovery registry; and a user interface component executable by the processor to: display a modified database query interface that includes an input assistance selectable input associated with the one or more discovered web services; and display a form input interface in response to a selection of the input assistance selectable input, wherein the form input interface includes one or more input forms associated with the one or more discovered web services.
 17. The system of claim 16, wherein the resolver is a structured query language (SQL) condition function resolver.
 18. The system of claim 16, wherein the computer readable storage medium is further configured to store a web registry, wherein the web registry includes discoverable information associated with the plurality of web services, and wherein the discoverable information associated with a particular web service of the plurality of web services is stored at the discovery registry upon addition of the particular web service to the web registry.
 19. A computer readable storage medium comprising instructions, that when executed by a processor, cause the processor to: receive a selection of a particular logical field via a database query interface; query a discovery registry associated with a data abstraction model of a database to discover one or more web services that are resolvable based on the particular logical field, wherein the data abstraction model includes a plurality of logical fields, wherein each logical field of the plurality of logical fields corresponds to a particular data structure of the database, wherein a web service input of a particular discovered web service is associated with a first logical field of the data abstraction model via the discovery registry, and wherein a web service output of the particular discovered web service is associated with a second logical field of the data abstraction model via the discovery registry; display a modified database query interface that includes an input assistance selectable input associated with the one or more discovered web services; and display a form input interface in response to a selection of the input assistance selectable input, wherein the form input interface includes one or more input forms associated with the one or more discovered web services.
 20. The computer readable storage medium of claim 19, further comprising instructions, that when executed by a processor, cause the processor to display one or more help inputs associated with the one or more discovered web services, wherein each help input provides information associated with a particular discovered web service. 